<%-- 
    Document   : listadoInmuebles
    Created on : 6/06/2013, 08:32:52 PM
    Author     : Seysame
--%>

<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib prefix="s" uri="http://www.springframework.org/tags"%>
<%@taglib prefix="form"  uri ="http://www.springframework.org/tags/form" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
    <head>

        <title>Listado de Inmuebles</title>
    </head>
    <body>

        <table>
            <tr>
                <th>
                    <strong>Titulo</strong> 
                </th>
                <th>
                    <strong>Direccion</strong>
                </th>
                <th>
                    <strong>pais</strong>
                </th>
                <th>
                    <strong>ver</strong>
                </th>
                <th>
                    <strong>Consultar Ingresos</strong>
                </th>
            </tr>
            <c:forEach items ="${inmuebles}" var="in">
                <tr>

                    <td><c:out value="${in.titulo}"> </c:out></td>
                    <td><c:out value="${in.direccion}"> </c:out></td>
                    <td><c:out value="${in.pais}"> </c:out></td>
                        <td>
                            <a href='<s:url value="/perfilInmueble.htm?code=${in.idInmueble}"/>'>Ver</a> 
                        <a href='<s:url value="/consultarRecomendaciones.htm?code=${in.idInmueble}"/>'>Consultar Recomendaciones</a>
                    </td>
                  
                </tr>
            </c:forEach>

        </table>


    </body>
</html>
